#ifndef POSTSELF_H
#define POSTSELF_H

#include "SocketClient.h"
#include<string.h>
#include <sys/stat.h>
#include<QString>
//#include<SqliteDriver.h>
class PostSelf : public QObject
{
    Q_OBJECT
public:
    SocketClient *m_socketClient;
    QString recive;
    PostSelf();
    ~PostSelf();

    void send(QString id);
    void establishConnection(QString ip, int port);
    void fileDetect();

    private slots:
        void dataZijianPacketReady(SocketPacket packet);
};

#endif // POSTSELF_H
